<?php

include       'data/config.php';
require_once  'thinkOrm.php';




$thinkorm = new  thinkOrm($db_host, $db_user, $db_pass, $db_name);


$user_list     = $thinkorm->getAll("select * from xx_users limit 3");

var_dump($user_list);

$users  = $thinkorm->getOne("select * from xx_users");

var_dump($users);

$users_list= $thinkorm->selectLimit("select * from xx_users",2,0);

$users =  $thinkorm->fetchRow($users_list);

var_dump($users);

var_dump($users_list);




